﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Morus.Presentation
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public sealed class PresenterBindingAttribute : Attribute
    {
        [DebuggerStepThrough]
        public PresenterBindingAttribute(Type presenterType)
        {
            PresenterType = presenterType;
            ViewType = null;
            BindingMode = BindingMode.Default;
        }

        public Type PresenterType { get; private set; }
        public Type ViewType { get; set; }
        public BindingMode BindingMode { get; set; }
    }
}
